<template>
    <view class="content">
        <view class="item bg-aqua" @click="openPage(`/pages/refund-goods/refund-goods`,16)">
            <view>
                <view>退货商品</view>
                <view class="see aqua">查看订单信息</view>
            </view>
            <image src="../../static/image/img_24.png" class="img-24"></image>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            openPage(url, num) {
                this.$ajax('index/getRole', {
                    userToken: this.$getSync('userToken'),
                    type: num,//1-采购收货、销退收货 2-采购验收、销退验收、二次验收 3-入库记录 4-待领取 /出库凭证 5-库区管理 6-货位管理 7-托盘管理 8-盘点计划 9-盘点记录 10-养护计划 11-养护记录 12-养护报告 13-调拨管理 14-出库复核 15-运输 16-退货管理
                }).then(ret => {
                	if (ret.status == 0) {
                        this.$gTo(url)
                	} else {
                		this.$toast(ret.message);
                	}
                });
            },
        }
    };
</script>

<style lang="scss">
    page{
        background-color: #fff;
    }
    .content{
        padding: 40rpx 45rpx;
    }
    .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 20rpx;
        font-size: 36rpx;
        font-weight: bold;
        color: #000;
        padding: 35rpx 70rpx 35rpx 50rpx;
        margin-bottom: 20rpx;
    }
    .see{
        font-size: 26rpx;
        font-weight: normal;
        padding-top: 5rpx;
    }
    .img-24{
        width: 170rpx;
        height: 145rpx;
    }
    .bg-aqua{
        background-color: #eefffd;
        border: 2rpx solid #8fe9da;
    }
    .aqua{
        color: #00ba99;
    }

</style>
